﻿namespace Stock.Model
{
    public class Rate
    {
        private decimal bankRate = 5.5m;
        private decimal pre0Rate = 0m;
        private decimal pre1Rate = 15m;
        private decimal pre2Rate = 25m;
        private decimal pre3Rate = 35m;

        public decimal BankRate
        {
            set { bankRate = value; }
            get { return bankRate; }
        }

        public decimal Pre0Rate
        {
            set { pre0Rate = value; }
            get { return pre0Rate; }
        }

        public decimal Pre1Rate
        {
            set { pre1Rate = value; }
            get { return pre1Rate; }
        }

        public decimal Pre2Rate
        {
            set { pre2Rate = value; }
            get { return pre2Rate; }
        }

        public decimal Pre3Rate
        {
            set { pre3Rate = value; }

            get { return pre3Rate; }
        }
    }
}